from flask import session, redirect, url_for, render_template, jsonify, request

from web import APP
from web.models import User

@APP.route('/')
def html_user_login():
    '''用户登录界面'''
    return render_template('user_login.html')

@APP.route('/user/logout')
def html_user_logout():
    '''用户注销'''
    return redirect(url_for('html_user_login'), 302)

@APP.route('/user/setting')
def html_user_setting():
    '''用户资料修改'''
    pass

@APP.route('/user/password')
def html_user_password():
    '''用户密码修改'''
    pass
